package com.google.guava.eventbus.monitor;

import cn.hutool.log.Log;
import cn.hutool.log.LogFactory;
import com.google.common.eventbus.Subscribe;

/**
 * @author fuc
 * @create 2020-10-06
 */
public class FileChangeListener {
  private static final Log log = LogFactory.get();

  @Subscribe
  public void onChange(FileChangeEvent event) {
    log.info("{}-{}", event.getPath(), event.getKind());
  }
}
